package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;
import java.util.Date;

/**
 * 用户关系表 sys_user_relation
 * 
 * @author ruoyi
 * @date 2019-05-22
 */
public class UserRelation extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 商户ID */
	private String uid;
	/** 黄金id */
	private String u1id;
	/** 经纪人id */
	private String u2id;
	/** 代理商id */
	private String u3id;
	/** 商务中心id */
	private String u4id;
	/** 联创id */
	private String u5id;
	/** 当前等级 */
	private String level;
	/** 原始推荐人 */
	private String pid;
	/**  */
	private Date createTime;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setUid(String uid) 
	{
		this.uid = uid;
	}

	public String getUid() 
	{
		return uid;
	}
	public void setU1id(String u1id) 
	{
		this.u1id = u1id;
	}

	public String getU1id() 
	{
		return u1id;
	}
	public void setU2id(String u2id) 
	{
		this.u2id = u2id;
	}

	public String getU2id() 
	{
		return u2id;
	}
	public void setU3id(String u3id) 
	{
		this.u3id = u3id;
	}

	public String getU3id() 
	{
		return u3id;
	}
	public void setU4id(String u4id) 
	{
		this.u4id = u4id;
	}

	public String getU4id() 
	{
		return u4id;
	}
	public void setU5id(String u5id) 
	{
		this.u5id = u5id;
	}

	public String getU5id() 
	{
		return u5id;
	}
	public void setLevel(String level) 
	{
		this.level = level;
	}

	public String getLevel() 
	{
		return level;
	}
	public void setPid(String pid) 
	{
		this.pid = pid;
	}

	public String getPid() 
	{
		return pid;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("u1id", getU1id())
            .append("u2id", getU2id())
            .append("u3id", getU3id())
            .append("u4id", getU4id())
            .append("u5id", getU5id())
            .append("level", getLevel())
            .append("pid", getPid())
            .append("createTime", getCreateTime())
            .toString();
    }
}
